// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import request from "@/utils/request.js";

/**
 * 获取备注模板
 * 
 */
export function getRemarkTempList() {
	return request.get('remark_list');
}

/**
 * 获取车长车型
 * 
 */
export function cartype_list() {
	return request.get('carcate_list');
}

/**
 * 计算两个地址的距离
 * 
 */
export function cal_distinces(data) {
	return request.get('cal_distinces', data, {
		noAuth: true
	});
}

/**
 * 平台设置
 * 
 */
export function baseSetting() {
	return request.get('base_setting');
}

/**
 * 根据距离获取保证金
 * 
 */
export function cal_dis_amount(data) {
	return request.get('get_order_amount', data, {
		noAuth: true
	});
}